package es.upv.tricia;

public interface Game
{
	void initialize(String email);

	void start();

	void stop();

	void loadQuestion(int questionNo);

	void publishScore(String username, int score);

	void addGameListener(GameListener listener);

	interface GameListener
	{
		void onGameStart(int numberOfQuestions);

		void onQuestionLoaded(Question question);

		void onGameStop();

		void onGameFailed(Throwable reason);

		void onPublishScore();
	}
}
